.PHONY:all
all:sql_insert login insert show_info
sql_insert:sql_insert.c
	gcc -g -o $@ $^ -L /usr/lib64/mysql -lmysqlclient 
login:login.c
	gcc -g -o $@ $^ -L /usr/lib64/mysql -lmysqlclient 
insert:insert_info.c
	gcc -g -o $@ $^ -L /usr/lib64/mysql -lmysqlclient 
show_info:show_info.c
	gcc -g -o $@ $^ -L /usr/lib64/mysql -lmysqlclient 
.PHONY:clean
clean:
	rm -f  sql_insert login insert show_info

